/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2019
 */

package com.jzwl.site.wap.articlefabulous.pojo;

import com.jzwl.system.base.pojo.BasePojo;

public class SiteArticleUserFabulous extends BasePojo implements java.io.Serializable {

	private static final long serialVersionUID = 5454155825314635342L;

	//alias
	public static final String TABLE_ALIAS = "SiteArticleUserFabulous";
	public static final String ALIAS_ID = "id";
	public static final String ALIAS_OPEN_ID = "用户的openId";
	public static final String ALIAS_ARTICLE_ID = "文章的Id";
	public static final String ALIAS_CREATE_DATE = "创建时间";
	public static final String ALIAS_IS_DELETE = "是否删除（0：否、1：是）";

	//date formats
	public static final String FORMAT_CREATE_DATE = DATE_FORMAT;

	//columns START
	/**
	 * id       db_column: id 
	 */
	private java.lang.Long id;
	/**
	 * 用户的openId       db_column: openId 
	 */
	private java.lang.String openId;
	/**
	 * 文章的Id       db_column: articleId 
	 */
	private java.lang.Long articleId;
	/**
	 * 创建时间       db_column: createDate 
	 */
	private java.util.Date createDate;
	/**
	 * 是否删除（0：否、1：是）       db_column: isDelete 
	 */
	private Integer isDelete;

	//columns END

	public void setId(java.lang.Long value) {
		this.id = value;
	}

	public java.lang.Long getId() {
		return this.id;
	}

	public java.lang.String getOpenId() {
		return this.openId;
	}

	public void setOpenId(java.lang.String value) {
		this.openId = value;
	}

	public java.lang.Long getArticleId() {
		return this.articleId;
	}

	public void setArticleId(java.lang.Long value) {
		this.articleId = value;
	}

	public String getCreateDateString() {
		return dateToStr(getCreateDate(), FORMAT_CREATE_DATE);
	}

	public void setCreateDateString(String value) {
		setCreateDate(strToDate(value, java.util.Date.class, FORMAT_CREATE_DATE));
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer value) {
		this.isDelete = value;
	}

}
